package com.econ.powercloud.ems.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PrometheusMysqlVO {

    @ApiModelProperty(value = "服务IP")
    private String ip;

    @ApiModelProperty(value = "端口")
    private String port;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "服务状态：正常1，不正常0")
    private String status;

    @ApiModelProperty(value = "当前连接数")
    private String connections;

    @ApiModelProperty(value = "打开文件数")
    private String openFiles;

    @ApiModelProperty(value = "当前每秒请求数")
    private String queriesRate;

    @ApiModelProperty(value = "查询缓存")
    private String queryCache;

    @ApiModelProperty(value = "慢查询")
    private String slowQueriesRate;


}
